<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>ssl::context_base::method</title>
    <link rel="stylesheet" href="../../../boostbook.css" type="text/css">
    <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
    <link rel="home" href="../../../index.html" title="Asio">
    <link rel="up" href="../ssl__context_base.html" title="ssl::context_base">
    <link rel="prev" href="file_format.html" title="ssl::context_base::file_format">
    <link rel="next" href="no_compression.html" title="ssl::context_base::no_compression">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%">
    <tr>
        <td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td>
    </tr>
</table>
<hr>
<div class="spirit-nav">
    <a accesskey="p" href="file_format.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u"
                                                                                            href="../ssl__context_base.html"><img
        src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png"
                                                                                            alt="Home"></a><a
        accesskey="n" href="no_compression.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
    <div class="titlepage">
        <div>
            <div><h4 class="title">
                <a name="asio.reference.ssl__context_base.method"></a><a class="link" href="method.html"
                                                                         title="ssl::context_base::method">ssl::context_base::method</a>
            </h4></div>
        </div>
    </div>
    <p>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method"></a>
        Different
        methods supported by a context.
    </p>
    <pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">method</span>
</pre>
    <p>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv2"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv2_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv2_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv3"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv3_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv3_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv1"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv1_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv1_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv23"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv23_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.sslv23_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv11"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv11_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv11_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv12"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv12_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv12_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv13"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv13_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tlsv13_server"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tls"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tls_client"></a>
        <a class="indexterm" name="asio.indexterm.ssl__context_base.method.tls_server"></a>
    </p>
    <h6>
        <a name="asio.reference.ssl__context_base.method.h0"></a>
        <span><a name="asio.reference.ssl__context_base.method.values"></a></span><a class="link"
                                                                                     href="method.html#asio.reference.ssl__context_base.method.values">Values</a>
    </h6>
    <div class="variablelist">
        <p class="title"><b></b></p>
        <dl>
            <dt><span class="term">sslv2</span></dt>
            <dd><p>
                Generic SSL version 2.
            </p></dd>
            <dt><span class="term">sslv2_client</span></dt>
            <dd><p>
                SSL version 2 client.
            </p></dd>
            <dt><span class="term">sslv2_server</span></dt>
            <dd><p>
                SSL version 2 server.
            </p></dd>
            <dt><span class="term">sslv3</span></dt>
            <dd><p>
                Generic SSL version 3.
            </p></dd>
            <dt><span class="term">sslv3_client</span></dt>
            <dd><p>
                SSL version 3 client.
            </p></dd>
            <dt><span class="term">sslv3_server</span></dt>
            <dd><p>
                SSL version 3 server.
            </p></dd>
            <dt><span class="term">tlsv1</span></dt>
            <dd><p>
                Generic TLS version 1.
            </p></dd>
            <dt><span class="term">tlsv1_client</span></dt>
            <dd><p>
                TLS version 1 client.
            </p></dd>
            <dt><span class="term">tlsv1_server</span></dt>
            <dd><p>
                TLS version 1 server.
            </p></dd>
            <dt><span class="term">sslv23</span></dt>
            <dd><p>
                Generic SSL/TLS.
            </p></dd>
            <dt><span class="term">sslv23_client</span></dt>
            <dd><p>
                SSL/TLS client.
            </p></dd>
            <dt><span class="term">sslv23_server</span></dt>
            <dd><p>
                SSL/TLS server.
            </p></dd>
            <dt><span class="term">tlsv11</span></dt>
            <dd><p>
                Generic TLS version 1.1.
            </p></dd>
            <dt><span class="term">tlsv11_client</span></dt>
            <dd><p>
                TLS version 1.1 client.
            </p></dd>
            <dt><span class="term">tlsv11_server</span></dt>
            <dd><p>
                TLS version 1.1 server.
            </p></dd>
            <dt><span class="term">tlsv12</span></dt>
            <dd><p>
                Generic TLS version 1.2.
            </p></dd>
            <dt><span class="term">tlsv12_client</span></dt>
            <dd><p>
                TLS version 1.2 client.
            </p></dd>
            <dt><span class="term">tlsv12_server</span></dt>
            <dd><p>
                TLS version 1.2 server.
            </p></dd>
            <dt><span class="term">tlsv13</span></dt>
            <dd><p>
                Generic TLS version 1.3.
            </p></dd>
            <dt><span class="term">tlsv13_client</span></dt>
            <dd><p>
                TLS version 1.3 client.
            </p></dd>
            <dt><span class="term">tlsv13_server</span></dt>
            <dd><p>
                TLS version 1.3 server.
            </p></dd>
            <dt><span class="term">tls</span></dt>
            <dd><p>
                Generic TLS.
            </p></dd>
            <dt><span class="term">tls_client</span></dt>
            <dd><p>
                TLS client.
            </p></dd>
            <dt><span class="term">tls_server</span></dt>
            <dd><p>
                TLS server.
            </p></dd>
        </dl>
    </div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%">
    <tr>
        <td align="left"></td>
        <td align="right">
            <div class="copyright-footer">Copyright © 2003-2022 Christopher M. Kohlhoff<p>
                Distributed under the Boost Software License, Version 1.0. (See accompanying
                file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
            </p>
            </div>
        </td>
    </tr>
</table>
<hr>
<div class="spirit-nav">
    <a accesskey="p" href="file_format.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u"
                                                                                            href="../ssl__context_base.html"><img
        src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png"
                                                                                            alt="Home"></a><a
        accesskey="n" href="no_compression.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
